home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / gyroball.swf / scripts / frame_8 / PlaceObject2_104_219 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2007-03-22  |  318 b   |  17 lines

  1. onClipEvent(enterFrame){
  2.    if(!_root.levelDone)
  3.    {
  4.       timer = int(60 - (getTimer() - moment) / 1000);
  5.       txtTimer = timer;
  6.       if(timer < 1)
  7.       {
  8.          _root.totalLives = 0;
  9.          _root.ballAway();
  10.       }
  11.       else if(timer == 5)
  12.       {
  13.          mcTimerBg.play();
  14.       }
  15.    }
  16. }
  17.